/*
 * Copyright (c) 2021. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
 * Morbi non lorem porttitor neque feugiat blandit. Ut vitae ipsum eget quam lacinia accumsan.
 * Etiam sed turpis ac ipsum condimentum fringilla. Maecenas magna.
 * Proin dapibus sapien vel ante. Aliquam erat volutpat. Pellentesque sagittis ligula eget metus.
 * Vestibulum commodo. Ut rhoncus gravida arcu.
 */

package com.pobing.service;

import com.pobing.grpc.lib.hello.HelloRequest;
import com.pobing.grpc.lib.hello.HelloResponse;
import io.grpc.stub.StreamObserver;

/**
 * @author xfworld
 * @since create on 2021-06-28.
 **/
public interface HelloService {

    /**
     * sayHello接口
     * @param request 请求
     * @param responseObserver 返回
     */
    void sayHello(HelloRequest request, StreamObserver<HelloResponse> responseObserver);
}
